package com.security.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author xsy
 * @createTime 2023/2/5  13:13
 * @description
 * @since 1.0
 *
 * http://localhost:8101/oauth/authorize?client_id=user-client&response_type=code&scope=all&redirect_uri=http://www.baidu.com
 *
 * post http://localhost:8101/oauth/token?client_id=user-client&client_secret=secret123&grant_type=authorization_code&redirect_uri=http://www.baidu.com&code=sEDFe
 * post http://localhost:8101/oauth/check_token?token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsicmVzb3VyY2UxIl0sInVzZXJfbmFtZSI6ImFkbWluIiwic2NvcGUiOlsiYWxsIl0sImV4cCI6MTY3NTU4MTE1OSwiYXV0aG9yaXRpZXMiOlsiUk9MRV9BRE1JTiJdLCJqdGkiOiJhMDBhM2I3YS04MzY5LTQ2ZGItYTE3Zi04ZDJiNzY1NWI5NGYiLCJjbGllbnRfaWQiOiJ1c2VyLWNsaWVudCJ9.qYUh4Ea5lK4paI-qXm0NgmE3pVyqpMtV64vis9UgMd8
 * get http://localhost:8102/api/getTest
 * Authorization=bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsicmVzb3VyY2UxIl0sInVzZXJfbmFtZSI6ImFkbWluIiwic2NvcGUiOlsiYWxsIl0sImV4cCI6MTY3NTU4MjQwNCwiYXV0aG9yaXRpZXMiOlsiUk9MRV9BRE1JTiJdLCJqdGkiOiJkNmEyNmQ2YS1hZjYxLTQ4MjAtOWUzNS00YTg3ZjZlYzEwNzMiLCJjbGllbnRfaWQiOiJ1c2VyLWNsaWVudCJ9.ZXoH5zs1h2F15-eA692QM5vWM6zjYDSNyMJSTOx7GxI
 */
@SpringBootApplication
public class JWTAuthServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(JWTAuthServiceApplication.class);
    }

}
